package com.ruoyi.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 【请填写功能名称】对象 main_gasoline
 * 
 * @author ruoyi
 * @date 2020-06-23
 */
public class MainGasoline extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主油卡id */
    private Integer mId;

    /** 主油卡卡号 */
    @Excel(name = "主油卡卡号")
    private String mNumber;

    /** 主油卡余额 */
    @Excel(name = "主油卡余额")
    private BigDecimal mMoney;

    /** 主油卡余额 */
    @Excel(name = "充值金额")
    private BigDecimal mTopup;

    public BigDecimal getmTopup() {
        return mTopup;
    }

    public void setmTopup(BigDecimal mTopup) {
        this.mTopup = mTopup;
    }

    /** 充值时间 */
    @Excel(name = "充值时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mTime;

    /** 备注 */
    @Excel(name = "备注")
    private String mRemark;

    public void setmId(Integer mId) 
    {
        this.mId = mId;
    }

    public Integer getmId() 
    {
        return mId;
    }
    public void setmNumber(String mNumber) 
    {
        this.mNumber = mNumber;
    }

    public String getmNumber() 
    {
        return mNumber;
    }
    public void setmMoney(BigDecimal mMoney)
    {
        this.mMoney = mMoney;
    }

    public BigDecimal getmMoney()
    {
        return mMoney;
    }
    public void setmTime(Date mTime) 
    {
        this.mTime = mTime;
    }

    public Date getmTime() 
    {
        return mTime;
    }
    public void setmRemark(String mRemark) 
    {
        this.mRemark = mRemark;
    }

    public String getmRemark() 
    {
        return mRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mId", getmId())
            .append("mNumber", getmNumber())
            .append("mMoney", getmMoney())
            .append("mTime", getmTime())
                .append("mTopup", getmTopup())
            .append("mRemark", getmRemark())
            .toString();
    }
}
